<?php
	class Match extends BaseModel {

		private $teamOne;
		private $teamTwo;
		private $round;
		private $division;
		private $pointsTeamOne;
		private $pointsTeamTwo;

		public function getTeamOne() {
			return $this->teamOne;
		}
		
		public function setTeamOne($value) {
			$this->teamOne = $value;
		}
		
		public function getTeamTwo() {
			return $this->teamTwo;
		}
		
		public function setTeamTwo($value) {
			$this->teamTwo = $value;
		}
		
		public function getRound() {
			return $this->round;
		}
		
		public function setRound($value) {
			$this->round = $value;
		}
		
		public function getDivision() {
			return $this->division;
		}
		
		public function setDivision($value) {
			$this->division = $value;
		}
		
		public function getPointsTeamOne() {
			return $this->pointsTeamOne;
		}
		
		public function setPointsTeamOne($value) {
			$this->pointsTeamOne = $value;
		}
		
		public function getPointsTeamTwo() {
			return $this->pointsTeamTwo;
		}
		
		public function setPointsTeamTwo($value) {
			$this->pointsTeamTwo = $value;
		}
		
		public function required() {
			return array(
				"teamOne" => $this->teamOne,
				"teamTwo" => $this->teamTwo,
				"round" => $this->round,
				"division" => $this->division,
				"pointsTeamOne" => $this->pointsTeamOne,
				"pointsTeamTwo" => $this->pointsTeamTwo
			);
		}

		public function json() {
			return array(
				"teamOne" => $this->teamOne,
				"teamTwo" => $this->teamTwo,
				"round" => $this->round,
				"division" => $this->division,
				"pointsTeamOne" => $this->pointsTeamOne,
				"pointsTeamTwo" => $this->pointsTeamTwo
			);
		}

	}